package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.DiscountLevel;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface DiscountLevelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DiscountLevel record);

    DiscountLevel selectByPrimaryKey(Long id);

    List<DiscountLevel> selectAll();

    int updateByPrimaryKey(DiscountLevel record);

    //查总数
    int  queryForCount(QueryObject qo);

    //查分页数据
    List<DiscountLevel> queryForList(QueryObject qo);

}